import request from '@/config/axios'


//订单列表相关接口
//列表
export const dataList = (params) => {
    return request.get({url: 'order/list',params})
}

export const getOrder = (params) => {
    return request.get({url: 'order/create',params})
}

export const orderResult = (params) => {
    return request.get({url: 'order/result',params})
}


export const orderWx = (params) => {
    return request.get({url: 'order/jsapi',params})
}

//退款接口
export const orderRefunds = (data) => {
    return request.post({url: 'order/refunds',data})
}


//提交写作分数接口



